home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / archiver / mta_vf35.zip / MTA__TEC.EXE / ATTRIBUT.TEC next >
Text File  |  1993-02-22  |  2KB  |  48 lines

  1. ------------------------------------------------------------------------
  2. Subject : The way MTA handles archives with files that have attributes
  3. Target  : All users
  4. Date    : 11-14-92
  5. Rev.    : 1.00 / 11-14/92
  6. ------------------------------------------------------------------------
  7.  
  8. There are much questions about the way MTA handles special attributes
  9. like READONLY, SYSTEM and HIDDEN, that are set on files that are inside
  10. archives.
  11.  
  12. MTA can do 2 things:
  13.  
  14. - Ignore the archive (manual conversion is needed);
  15.  
  16. - Convert the archives but reset the attributes to ARCHIVE or NONE;
  17.  
  18. It is impossible to keep the attributes when MTA converts the file.
  19. The main reasons are:
  20.  
  21. - Only ARJ, SQZ and ZIPP support ALL attributes, the other archive
  22.   programs can either support no special attributes at all or only
  23.   a few (READONLY or HIDDEN, most can't support SYSTEM);
  24.  
  25. - HYPER can add but never extract any of these files (major bug in
  26.   HYPER);
  27.  
  28. - ARJ can extract RO/HI/SY but will make a mess of the target files
  29.   (never got it right);
  30.  
  31. - ARJ can compress RO/HI/SY but without a move;
  32.  
  33. - LZH can compress but the decompress is a mess (some attibutes are
  34.   gone);
  35.  
  36.  
  37. In general, the conversion of RO/HI/SY attributes has a large number
  38. of flaws. The main problem is, that you can never be sure that all
  39. files are added to the new archive (or I have to use a large number
  40. of bytes in memory to deal with it in an intelligent way).
  41.  
  42. When you set the REPORTSPECIALATTRIBUTES option (without any parameter),
  43. MTA will reset all READONLY, SYSTEM and HIDDEN attributes (a report will
  44. be in the log-file) and will continue conversion. If you use the SKIP
  45. parameter with this option, MTA will leave the archive alone and will
  46. continue with the next eligable file. The conversion must be done by
  47. hand.
  48.